﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DanhSachThamGiaDauGia.aspx.cs" Inherits="DanhSachDauGia" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
    <asp:DataList ID="DL_DanhSachDauGia" runat="server" CellPadding="4" 
        ForeColor="#333333">
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <AlternatingItemStyle BackColor="White" ForeColor="#284775" />
        <ItemStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedItemStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <HeaderTemplate>
            <table class="style1" style="width: 600px">
                <tr>
                    <td width="200">
                        Tên đăng nhập</td>
                    <td width="200">
                        Số tiền</td>
                    <td width="200">
                        Ngày ra giá</td>
                </tr>
            </table>
        </HeaderTemplate>
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <ItemTemplate>
            <table class="style1" style="width: 600px">
                <tr>
                    <td width="200">
                        <asp:Label ID="Label1" runat="server" Text='<%# Eval("TenDangNhap") %>'></asp:Label>
                    </td>
                    <td width="200">
                        <asp:Label ID="Label2" runat="server" Text='<%# Eval("SoTien") %>'></asp:Label>
                    </td>
                    <td width="200">
                        <asp:Label ID="Label3" runat="server" Text='<%# Eval("ThoiDiem") %>'></asp:Label>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
    <asp:SqlDataSource ID="SqlData_DanhSachThamGiaDauGia" runat="server" 
        ConnectionString="<%$ ConnectionStrings:gets_SPDG %>" 
        SelectCommand="gets_DauGia" SelectCommandType="StoredProcedure">
        <SelectParameters>
            <asp:QueryStringParameter DefaultValue="1" Name="MaSanPhamDauGia" 
                QueryStringField="Ma" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>
    </form>
</body>
</html>
